package com.sensoro.qrgun.bean;

public class ConfData {
	int pos;
	String uuid;
	int major = -1;
	int minor = -1;
	String sn;
	int transmitPower = -1;
	int advertising = -1;
	int status;
	String password;
	boolean toFactory = false;

	public static int WATTING = 0;
	public static int DOING = 1;
	public static int FINISHED = 2;
	public static int ERROR = 3;

	public ConfData() {
		super();
	}

	public ConfData(int pos, String uuid, int major, int minor, String sn) {
		super();
		this.pos = pos;
		this.uuid = uuid;
		this.major = major;
		this.minor = minor;
		this.sn = sn;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public int getPos() {
		return pos;
	}

	public void setPos(int pos) {
		this.pos = pos;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public int getMajor() {
		return major;
	}

	public void setMajor(int major) {
		this.major = major;
	}

	public int getMinor() {
		return minor;
	}

	public void setMinor(int minor) {
		this.minor = minor;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getTransmitPower() {
		return transmitPower;
	}

	public void setTransmitPower(int transmit) {
		this.transmitPower = transmit;
	}

	public int getAdvertising() {
		return advertising;
	}

	public void setAdvertising(int advertising) {
		this.advertising = advertising;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isToFactory() {
		return toFactory;
	}

	public void setToFactory(boolean toFactory) {
		this.toFactory = toFactory;
	}

}
